package Application.serviceImpl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import Application.dao.CourseDao;
import Application.entity.Course;
import Application.service.CourseService;
@Service("CourseService")
public class CourseServiceImpl implements CourseService {

	@Resource
	private CourseDao dao;
	
	@Override
	public List<Course> getCourseByStudentId(int id) {
		return dao.getCourseByStudentId(id);
	}

}
